package timing.ukulele.item.client.callback;

import timing.ukulele.item.client.ProjectClient;
import timing.ukulele.common.ResponseResult;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class ProjectClientCallback implements ProjectClient {
    private final String tips = "办件服务调用失败";

    @Override
    public ResponseResult<Integer> checkItemProjectExist(Long itemId) {
        log.error(tips);
        return ResponseResult.rpcError(tips);
    }
}
